module.exports = function(sequelize){
    var Sequelize = require('sequelize');
    var Department = sequelize.define('department',{
        dName:{
            type:Sequelize.STRING,
            primaryKey:true,
            allowNull:false
        },
        deIntroduction:{
            type:Sequelize.STRING
        },
        ifNeed:{
            type:Sequelize.STRING,
            defaultValue:false
        }
    },{
        freezeTableName: true,
        timestamps: false
    });
    return Department;
};